package com.design.pattern.bridge;/** * create by yufeng on 2021/7/4 18:30 */public abstract class AbastractMessage {    private IMessage message;    public AbastractMessage(IMessage message) {        this.message = message;    }    void sendMessage(String message,String toUser){        this.message.send(message,toUser);    }}